import { post, get } from '@/utils/request'

export default {
  list: query => get('/api/admin/company/list'),
  pageList: query => post('/api/admin/company/page', query),
  edit: query => post('/api/admin/company/edit', query),
  select: id => post('/api/admin/company/select/' + id),
  pageList1: query => post('/api/admin/advice/page', query),
  deleteSubject: id => post('/api/admin/company/delete/' + id),
  deleteSubject1: id => post('/api/admin/advice/delete/' + id)
}
